package com.atguigu.gmall.common.config.thread.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/12/5 19:45
 * @Version 1.0
 */
@ConfigurationProperties(prefix = "app.threadpool")
@Data
public class AppThreadProperties {

    private Integer corePoolSize = 4;
    private Integer maximumPoolSize = 8;
    private Long keepAliveTime = 5l;
    private Integer workQueueSize = 1000;

}
